/*
 * @Author: Yxliam
 * @Date: 2023-12-12 11:44:53
 * @LastEditors: Yxliam
 * @LastEditTime: 2023-12-14 16:00:12
 * @Description:
 */
import * as React from 'react';
import {SafeAreaProvider, SafeAreaView} from 'react-native-safe-area-context';

import Router from './src/router';
import {View, StatusBar, Text} from 'react-native';
import {NavigationContainer} from '@react-navigation/native';
import GlobalLoading, {globalLoadingRef} from './src/components/GlobalLoading';
import GlobalMessage, {globalMessageRef} from './src/components/GlobalMessage';
import {Provider} from '@fruits-chain/react-native-xiaoshu';

function App() {
  return (
    <SafeAreaProvider>
      <NavigationContainer>
        <Router />
        <GlobalLoading ref={globalLoadingRef} />
        <GlobalMessage ref={globalMessageRef} />
      </NavigationContainer>
    </SafeAreaProvider>
  );
}

export default App;
